home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 05.zip
/
BS1 part 5
/
SASC_6.0_Disk_4.adf
/
Compiler_Headers
/
Include
/
dos
/
record.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-07-30
|
743b
|
37 lines
#ifndef DOS_RECORD_H
#define DOS_RECORD_H
/*
**
** $Filename: dos/record.h $
** $Release: 2.04 Includes, V37.4 $
** $Revision: 36.5 $
** $Date: 90/07/12 $
**
** include file for record locking
**
** (C) Copyright 1989-1991 Commodore-Amiga, Inc.
** All Rights Reserved
**
*/
#ifndef DOS_DOS_H
#include "dos/dos.h"
#endif
/* Modes for LockRecord/LockRecords() */
#define REC_EXCLUSIVE 0
#define REC_EXCLUSIVE_IMMED 1
#define REC_SHARED 2
#define REC_SHARED_IMMED 3
/* struct to be passed to LockRecords()/UnLockRecords() */
struct RecordLock {
BPTR rec_FH; /* filehandle */
ULONG rec_Offset; /* offset in file */
ULONG rec_Length; /* length of file to be locked */
ULONG rec_Mode; /* Type of lock */
};
#endif /* DOS_RECORD_H */